package bean;

import java.util.ArrayList;
import java.util.List;

public class ThongTinNguoiDung extends Master {

    private int userID;
    private String ten;
    private String diaChi;
    private String cmnd;
    private String email;
    private String sdt;
    private String hinh;
    private int loaiKHID;
    private int role;
    private Integer trangThai;
    private LoaiKH loaiKH;
    private List<NguoiDung> nguoiDungs = new ArrayList<NguoiDung>();
    private List<DatHang> datHangs = new ArrayList<DatHang>();

    public ThongTinNguoiDung() {
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public String getTen() {
        return ten;
    }

    public void setTen(String ten) {
        this.ten = ten;
    }

    public String getDiaChi() {
        return diaChi;
    }

    public void setDiaChi(String diaChi) {
        this.diaChi = diaChi;
    }

    public String getCmnd() {
        return cmnd;
    }

    public void setCmnd(String cmnd) {
        this.cmnd = cmnd;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getSdt() {
        return sdt;
    }

    public void setSdt(String sdt) {
        this.sdt = sdt;
    }

    public String getHinh() {
        return hinh;
    }

    public void setHinh(String hinh) {
        this.hinh = hinh;
    }

    public int getLoaiKHID() {
        return loaiKHID;
    }

    public void setLoaiKHID(int loaiKHID) {
        this.loaiKHID = loaiKHID;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    public Integer getTrangThai() {
        return trangThai;
    }

    public void setTrangThai(Integer trangThai) {
        this.trangThai = trangThai;
    }

    public LoaiKH getLoaiKH() {
        return loaiKH;
    }

    public void setLoaiKH(LoaiKH loaiKH) {
        this.loaiKH = loaiKH;
    }

    public List<NguoiDung> getNguoiDungs() {
        return nguoiDungs;
    }

    public void setNguoiDungs(List<NguoiDung> nguoiDungs) {
        this.nguoiDungs = nguoiDungs;
    }

    public List<DatHang> getDatHangs() {
        return datHangs;
    }

    public void setDatHangs(List<DatHang> datHangs) {
        this.datHangs = datHangs;
    }

    @Override
    public String toString() {
        return "ThongTinNguoiDung{" + "userID=" + userID + ", ten=" + ten + ", diaChi=" + diaChi + ", cmnd=" + cmnd + ", email=" + email + ", sdt=" + sdt + ", hinh=" + hinh + ", loaiKHID=" + loaiKHID + ", role=" + role + ", trangThai=" + trangThai + ", loaiKH=" + loaiKH + ", nguoiDungs=" + nguoiDungs + ", datHangs=" + datHangs + '}';
    }
}
